<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
<div id="app">
  <div>{{age}}</div>
  <div>{{name}}</div>
  <comp1 :age="age"></comp1>
</div>
<script src="../../dist/vue.js"></script>
<script>
  const comp1 = {template:`<div>11111111111111</div>`}
  new Vue({
    el:'#app',
    components:{
      comp1
    },
    data:{
        age:28,
        name:'linqinghu'
    },
    // render:h=>{
    //   return h('div',`<div>hhhhhhhhhhhh</div>`)
    // }
  })
</script>
</body>
</html>
